package com.hbnu.mapper;

import com.hbnu.domain.Book;

import java.util.List;

/**
 * @version: 1.0
 * @ClassName: BookMapper
 * @Description: TODO
 * @Author: 86132
 * @Date: 2025/11/12 13:43
 */
public interface BookMapper {
    void insert(Book book);

    List<Book> listByUserId(Integer userId);

    void deleteById(Integer id);

    Book searchById(Integer id);
}
